nixbot: migrate from buildbot-nix config & configure stable branches - #9743
Open
MattSturgeon wants to merge 2 commits into
Open
nixbot: migrate from buildbot-nix config & configure stable branches#9743MattSturgeon wants to merge 2 commits into
MattSturgeon wants to merge 2 commits into
Conversation
Nixbot recently added a `build_branches` config option,¹ which allows specifying additional branches to be built on push. This replaces the old behaviour where all branches were built on push. The default branch and merge-queue refs are always built on push and Pull Requests are considered their own non-push event. ¹: Mic92/nixbot@87c9a40
khaneliman
reviewed
Jul 31, 2026
khaneliman
left a comment
Collaborator
There was a problem hiding this comment.
Sorry, i didn't see this. can you rebase and resolve the conflict.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Commit 1
Migrate references to "buildbot" to its replacement, "nixbot" and rename the config file to the new name.
While it probably isn't considered "public API", I added a rename alias to the
buildbotflake output.Commit 2
Explicitly configure nixbot's "build on push" branches, now that it no longer builds all branches by default.
We only need to configure stable branches (
release-*), because the default branch and merge-queue branches are always build on push, and Pull Requests are always build (using a different non-push event).Checklist
Change is backwards compatible.
Code formatted with
nix fmtornix-shell -A dev --run treefmt.Code tested through
nix build .#test-allor a targeted
nix run .#tests -- <pattern>.Test cases updated/added. See example.
Commit messages are formatted like
See CONTRIBUTING for more information and recent commit messages for examples.
If this PR adds a new module
If this PR adds an exciting new feature or contains a breaking change.